Crate oxc_allocator

source ·

Structs§

  • Memory address of an AST node in arena.
  • A Box without Drop. This is used for over coming self-referential structs. It is a memory leak if the boxed value has a Drop implementation.
  • A UTF-8 encoded, growable string.
  • Bumpalo Vec

Traits§

  • A trait to explicitly clone an object into an arena allocator.
  • This trait works similarly to the standard library From trait, It comes with a similar implementation containing blanket implementation for IntoIn, reflective implementation and a bunch of primitive conversions from Rust types to their arena equivalent.
  • This trait works similarly to the standard library Into trait. It is similar to FromIn is reflective, A FromIn implementation also implicitly implements IntoIn for the opposite type.